﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace AbpCompanyName.AbpProjectName.Migrations;

public partial class Upgrade_To_ABP_6_4_rc1 : Migration
{
    protected override void Up(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.CreateIndex(
            name: "IX_AbpUserLogins_ProviderKey_TenantId",
            table: "AbpUserLogins",
            columns: new[] { "ProviderKey", "TenantId" },
            unique: true,
            filter: "[TenantId] IS NOT NULL");
    }

    protected override void Down(MigrationBuilder migrationBuilder)
    {
        migrationBuilder.DropIndex(
            name: "IX_AbpUserLogins_ProviderKey_TenantId",
            table: "AbpUserLogins");
    }
}
